{extend name="layout"/}

{block name="content"}
<div class="panel">
    <div class="panel-heading">
        <div class="panel-title">添加推荐位</div>
    </div>
    <form class="panel-body" method="post" action="">
        <fieldset class="form-group">
            <label>栏目模型</label>
            <select  name="mid" class="form-control">
                <option value="0">=所有栏目内容模型=</option>
                {volist name="modelList" id="vo"}
                <option value="{$key}">{$vo}</option>
                {/volist}
            </select>
            <small class="text-muted">非必选，若不指定则所有栏目内容模型都可使用</small>
        </fieldset>

        <fieldset class="form-group">
            <label>推荐位名称*</label>
            <input type="text" class="form-control" name="title" placeholder="推荐位名称" value="">
        </fieldset>

        <fieldset class="form-group">
            <label>排序</label>
            <input type="number" class="form-control" name="orders" placeholder="只能是正整数" value="100">
        </fieldset>

        <div class="panel-footer text-right">
            <input type="submit" class="btn btn-primary" value="确认添加">
        </div>
    </form>
</div>
{/block}